package com.rzj.book.en;

public class OrderItem {

	public enum State {
		STATE_NOT_IN("未入库"), STATE_IN("已入库"), STATE_NOT_OUT("未出库"), STATE_OUT("已出库");
		private String desc;

		private State(String desc) {
			this.desc = desc;
		}

		public String getDesc() {
			return desc;
		}
	}
	
	private Long orderitemId;//编号
	
	private Long goodsuuid;//商品编号
	
	private String goodsname;//商品名称
	
	private Double price;//价格
	
	private Long num;//数量
	
	private Double money;//金额
	
	private java.util.Date endtime;//结束日期
	
	private Long ender;//库管员
	
	private Long storeuuid;//仓库编号
	
	private State state;//采购：0=未入库，1=已入库  销售：0=未出库，1=已出库
	//在多的一方配置
	private Orders orders;//订单

	public Long getOrderitemId() {
		return orderitemId;
	}
	public void setOrderitemId(Long orderitemId) {
		this.orderitemId = orderitemId;
	}
	public Long getGoodsuuid() {		
		return goodsuuid;
	}
	public void setGoodsuuid(Long goodsuuid) {
		this.goodsuuid = goodsuuid;
	}
	public String getGoodsname() {		
		return goodsname;
	}
	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}
	public Double getPrice() {		
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Long getNum() {		
		return num;
	}
	public void setNum(Long num) {
		this.num = num;
	}
	public Double getMoney() {		
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public java.util.Date getEndtime() {		
		return endtime;
	}
	public void setEndtime(java.util.Date endtime) {
		this.endtime = endtime;
	}
	public Long getEnder() {		
		return ender;
	}
	public void setEnder(Long ender) {
		this.ender = ender;
	}
	public Long getStoreuuid() {		
		return storeuuid;
	}
	public void setStoreuuid(Long storeuuid) {
		this.storeuuid = storeuuid;
	}
	public Orders getOrders() {
		return orders;
	}
	public void setOrders(Orders orders) {
		this.orders = orders;
	}

	public State getState() {
		return state;
	}

	public void setState(State state) {
		this.state = state;
	}
}
